﻿using System;
using System.Collections.Generic;
using System.Text;
using libCommonClass;
using libReadWrite;

namespace TTServer.Messages
{
    class PPTWindowsRelationshipRequestMessage : TTMessage
    {
        private String _temporaryKey;

        public String TemporaryKey
        {
            get { return _temporaryKey; }
            set { _temporaryKey = value; }
        }

        public override void ReadMessage(BigEndianReader sr)
        {
            this.TemporaryKey = sr.ReadString();
        }

        public override void WriteMessage(BigEndianWriter sw)
        {
            throw new NotImplementedException();
        }

        public override TTMessage Clone()
        {
            return new PPTWindowsRelationshipRequestMessage();
        }

        public override int GetMessageID()
        {
            return MessageKind.PPT_WINDOWS_RELATIONSHIP_REQUEST;
        }

        public override string GetMessageName()
        {
            return "PPTWindowsRelationshipRequests";
        }
    }
}
